home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / clang / nn.zip / S-3B1G.H < prev    next >
C/C++ Source or Header  |  1989-12-31  |  3KB  |  168 lines

  1. /*
  2.  *    These defs for GCC 1.34 on a UNIX-PC.  Written by Steve
  3.  *    Simmons (scs@lokkur.dexter.mi.us).  Shoot me, not Kim.
  4.  */
  5.  
  6. /*
  7.  *    Include header files containing the following definitions:
  8.  *
  9.  *         off_t, time_t, struct stat
  10.  */
  11.  
  12. #include <sys/types.h>
  13. #include <sys/stat.h>
  14.  
  15. /*
  16.  *    Define if your system has system V like ioctls
  17.  */
  18.  
  19. #define    HAVE_TERMIO            /* */
  20.  
  21. /*
  22.  *    Define to use terminfo database.
  23.  *    Otherwise, termcap is used.  Undefined for UNIX-PC --
  24.  *    gives wierd link errors, probably due to brain-damaged
  25.  *    old terminfo on 3b1.
  26.  */
  27.  
  28. /* #define    USE_TERMINFO            /* */
  29.  
  30. /*
  31.  *    Specify the library (or libraries) containing the termcap/terminfo
  32.  *    routines.
  33.  *
  34.  *    Notice:  nn only uses the low-level terminal access routines
  35.  *    (i.e. it does not use curses).
  36.  */
  37.  
  38. #define TERMLIB    -ltermcap
  39.  
  40. /*
  41.  *    Define HAVE_STRCHR if strchr() and strrchr() are available
  42.  */
  43.  
  44. #define HAVE_STRCHR            /* */
  45.  
  46. /*
  47.  *    Define if a signal handler has type void (see signal.h)
  48.  */
  49.  
  50. /* #define    SIGNAL_HANDLERS_ARE_VOID    /* */
  51.  
  52. /*
  53.  *    Define if signals must be set again after they are caught
  54.  */
  55.  
  56. #define    RESET_SIGNAL_WHEN_CAUGHT    /* */
  57.  
  58. /*
  59.  *    Define MICRO_ALARM to timeout in 0.1 seconds if possible
  60.  */
  61.  
  62. #define MICRO_ALARM()    alarm(1)    /* System V */
  63. /*#define MICRO_ALARM()    ualarm(100000,0)    /* BSD 4.3 */
  64.  
  65. /*
  66.  *    Define if your system has BSD like job control (SIGTSTP works)
  67.  */
  68.  
  69. /* #define HAVE_JOBCONTROL            /* */
  70.  
  71.  
  72. /*
  73.  *    Define if your system has a 4.3BSD like syslog library.
  74.  */
  75.  
  76. #undef HAVE_SYSLOG
  77.  
  78. /*
  79.  *    Define if your system provides the "directory(3X)" access routines
  80.  *
  81.  *    If true, include the header file(s) required by the package below
  82.  *    (remember that <sys/types.h> or equivalent is included above)
  83.  *    Also typedef Direntry to the proper struct type.
  84.  */
  85.  
  86. #define    HAVE_DIRECTORY            /* */
  87.  
  88. #include <dirent.h>            /* System V */
  89.  
  90. typedef struct dirent Direntry;        /* System V */
  91.  
  92. /*
  93.  *    Define if your system has a mkdir() library routine
  94.  */
  95.  
  96. /* #define    HAVE_MKDIR            /* */
  97.  
  98.  
  99. /*
  100.  *    Define HAVE_GETHOSTNAME if your system provides a BSD like 
  101.  *    gethostname routine.
  102.  *    Otherwise, define HAVE_UNAME if uname() is avaiable.
  103.  *    As a final resort, define HOSTNAME to the name of your system 
  104.  *    (in config.h).
  105.  */
  106.  
  107. #define    HAVE_UNAME            /* System V */
  108.  
  109. /*
  110.  *    Define DETATCH_TERMINAL to be a command sequence which 
  111.  *    will detatch a process from the control terminal
  112.  *    Also include system files needed to perform this HERE.
  113.  *    If not possible, just define it (empty)
  114.  */
  115.  
  116. /* #include "...." */
  117.  
  118. #define    DETATCH_TERMINAL /* setpgrp(); */
  119.  
  120.  
  121. /* 
  122.  *    Specify where the Bourne Shell is.
  123.  */
  124.  
  125. #define SHELL        "/bin/sh"
  126.  
  127. /*
  128.  *    Specify the default mailer to be invoked by nnmail
  129.  */
  130.  
  131. #define    MAILX        "/bin/mail"    /* SV */
  132. /* #define    MAILX    "/usr/ucb/Mail"        /* BSD */
  133.  
  134.  
  135. /*
  136.  *    Specify the default pager & options.
  137.  *    Your milage may vary.  scs
  138.  */
  139.  
  140. #define    PAGER        "/usr/local/bin/less"
  141.  
  142. /*
  143.  *    Specify the default print command and options.
  144.  */
  145.  
  146. #define    PRINTER        "/usr/bin/lp -s"
  147.  
  148.  
  149. /*
  150.  *    Define the maximum length of any pathname that may occur
  151.  */
  152.  
  153. #define    FILENAME     1024
  154.  
  155.  
  156. /*
  157.  *    Define standard compiler flags here:
  158.  */
  159.  
  160. #define COMPILER_FLAGS    -g -O
  161.  
  162. /*
  163.  *    If your system requires other libraries when linking nn
  164.  *    specify them here:
  165.  */
  166.  
  167. #define EXTRA_LIB
  168.